package com.readbook.dao;

import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


@Repository
public interface LoginDao {

    List<Map<String, Object>> GetlistByUname(Map<String, Object> gmap);

    List<Map<String, Object>> GetlistByUpwd(Map<String, Object> gmap);

    List<Map<String, Object>> getUserInfo(String usid);


    List<Map<String, Object>> GetlistByUnameUsid(Map<String, Object> gmap);

    int updateUaccount(Map<String, Object> gmap);

    /**
     * @author 牟明艳
     * @comments 根据账号查询权限
     * @time 2019年10月26日18:26:05
     */
    public String getUserPermission(Map<String, Object> gmap);


    List<Map<String, Object>> getUserInfoByZhMm(Map<String, Object> gmap);


    List<Map<String, Object>> getUaccountByZhMm(Map<String, Object> gmap);


    List<Map<String, Object>> getUaccountBydlZhName(Map<String, Object> gmap);
}

